#include "goblin.h"
#include "../Players/player.h"
Texture* Goblin::goblin_texture = nullptr;

Goblin::Goblin(): Enemy("Goblin", 30, 0, 4, goblin_texture) {
    if (goblin_texture == nullptr) {
        goblin_texture = new Texture("goblin.png");
        this->texture = goblin_texture;
    }
}

void Goblin::turn(Unit* u) {
    u->HP.Current -= 20;
}
